package com.baize.minespace.controller;

import com.baize.minespace.pojo.Mail;
import com.baize.minespace.utils.Result;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/user")
public class UserController {
    @RequestMapping(value = "/test", method = RequestMethod.GET)
    public Mail test() {
        Mail mail = new Mail();
        mail.setSubject("测试");
        mail.setContent("测试");
        return mail;
    }
}
